← Back
Editing: connection_skip_networking.result
install plugin mysqlx soname "mysqlx.so"; call mtr.add_suppression("Plugin mysqlx reported: .Failed at SSL configuration: .SSL context is not usable without certificate and private key.."); call mtr.add_suppression("Plugin mysqlx reported: .SSL_CTX_load_verify_locations failed."); create user nonblank@localhost identified by 'nonblank'; Test starts here Verify UNIX socket or Named Pipe connection that it still works RUN select user(),current_user(),@@bind_address user() current_user() @@bind_address root@localhost root@localhost * 0 rows affected Mysqlx.Ok { msg: "bye!" } ok Following commands should fail ERROR: Connection refused connecting to localhost:PORT try login using mysqlx protocol when server started with skip-networking options and mysqlx loaded with non super user ERROR: Connection refused connecting to localhost:PORT call mtr.add_suppression("Plugin mysqlx reported: .Preparation of I/O interfaces failed, X Protocol won't be accessible"); call mtr.add_suppression("Plugin mysqlx reported: .X Plugin failed to setup .+ .., with:"); call mtr.add_suppression("Plugin mysqlx reported: .+ path is empt"); call mtr.add_suppression("Plugin mysqlx reported: .+ is set to empty text"); # restart: --skip-networking --loose-mysqlx-socket= Following commands should fail Verify UNIX socket or Named Pipe is disabled drop user nonblank@localhost; UNINSTALL PLUGIN mysqlx;
Save File
Cancel